# This is an auto generated Dockerfile for ros:ros-base
# generated from docker_images/create_ros_image.Dockerfile.em
FROM choate1990/ros_china:noetic-ros-core

# install bootstrap tools
RUN apt-get update && apt-get install --no-install-recommends -y \
    build-essential \
    python3-rosinstall \
    python3-vcstools \
    python3-pip\
#    python-rosdep\
    ca-certificates\
    wget \
    && rm -rf /var/lib/apt/lists/*

# RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple rosdepc

# bootstrap rosdep
# RUN mkdir -p /etc/ros/rosdep/sources.list.d  && cd /etc/ros/rosdep/sources.list.d && \
#    wget --no-check-certificate https://gitee.com/ohhuo/rosdistro/raw/master/rosdep/sources.list.d/20-default.list -O 20-default.list && \
#    rosdep update --rosdistro $ROS_DISTRO

# RUN rosdepc init && rosdepc update --rosdistro $ROS_DISTRO

# install ros packages
RUN apt-get update && apt-get install -y --no-install-recommends \
    ros-noetic-ros-base \
    && rm -rf /var/lib/apt/lists/*

